package cn.backpackerxl.model;
import cn.backpackerxl.easyJDBC.annotation.*;
import cn.backpackerxl.easyJDBC.util.JSON;
import cn.backpackerxl.easyJDBC.util.IdType;
/**
 * @Author: backpackerxl
 * CreateTime: 2022/11/24
 * FileName: t_source
 **/
@Table(value="t_source",dev = true,show = true)
public class Source {
	@Id(strategy = IdType.AUTO)
	private int id;
	private String name;
	private int hadoop;
	private int hive;
	private int javaWeb;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getHadoop() {
		return hadoop;
	}

	public void setHadoop(int hadoop) {
		this.hadoop = hadoop;
	}

	public int getHive() {
		return hive;
	}

	public void setHive(int hive) {
		this.hive = hive;
	}

	public int getJavaWeb() {
		return javaWeb;
	}

	public void setJavaWeb(int javaWeb) {
		this.javaWeb = javaWeb;
	}

	@Override
	public String toString() {
		return JSON.stringify(this);
	}
}